<template>
	<view class="container">
		<!-- <navBar :isActive='2' /> -->
		<view class="sticky">
			宝剑锋从磨砺出,梅花香自苦寒来
		</view>
		<!-- <u-sticky offset-top="0">
			<view class="sticky">
				宝剑锋从磨砺出,梅花香自苦寒来
			</view>
		</u-sticky> -->
		<view class="">
			j开发和深刻理解对方合适的机会
		</view>
	</view>
</template>

<script>
	import navBar from "@/components/nav-bar.vue"
	export default {
		components: {
			navBar
		}
	}
</script>

<style scoped lang="scss">
	.container {
		// width: 100%;
		// font-size: 14px;
		// overflow: hidden;
		// padding: 30rpx;
		// position: relative;
		// background-color: #f8f7f7;
		height: 200vh;
		margin-top: 350rpx;

		.sticky {
			width: 100%;
			height: 120rpx;
			background-color: #2979ff;
			color: #fff;
			padding: 24rpx;
			position: sticky;
			top: 60rpx;
		}
	}
</style>
